package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopInvoiceHeadSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopInvoiceHeadDTO;

import java.util.List;

/**
 * 发票抬头管理表服务
 *
 * @author zhanghualang
 * @Date 2020-05-27 15:19:55
 */
public interface IShopInvoiceHeadService extends IService<ShopInvoiceHeadDTO> {
    boolean add(ShopInvoiceHeadSaveBO saveBO);

    List<ShopInvoiceHeadDTO> queryPageList(Long shopId); //根据shopID 获取所有发票抬头 内部调用

    boolean updateDefault(Long id); //更新默认

    ShopInvoiceHeadDTO selectByType(); //获取admin发票信息
}
